package net.thxjj.adminServer.dao;

import net.thxjj.sitermodel.PushRule;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PushRuleDao {
    List<PushRule> getAllPushRuleByProdKey(@Param("prod_key")String prodKey);
    void addPushRule(PushRule pushRule);
    void enablePushRule(@Param("enable")long enable,@Param("pushId")long pushId);
    PushRule getPushRuleById(@Param("pushId")long pushId);
}
